Cloudinary\Sync D

Total Complexity 129
Dependencies 10
Dependents 14
Total lines 1,156
Lines of code 606
Logical lines of code 284
Comment lines 407
Methods 40
Properties 7

Methods 40

Method Rating Maintainability Complexity Lines of code
setup_sync_base_struct()
A
31 10 135
filter_status()
A
51 11 24
is_synced()
A
55 8 20
log_sync_result()
S
54 6 20
is_syncable()
S
58 5 17
can_sync()
S
59 5 15
get_sync_type()
S
52 4 25
settings()
S
41 1 69
get_signature()
S
56 4 17
validate_sync_type()
S
58 4 15
generate_type_signature()
S
60 4 14
is_required()
S
62 4 11
is_pending()
S
63 4 9
sync_base()
S
62 3 11
set_signature_item()
S
62 3 11
generate_public_id()
S
61 3 11
setup()
S
56 2 18
get_sync_type_method()
S
68 3 7
setup_sync_types()
S
64 3 10
filter_get_cloudinary_folder()
S
70 3 6
generate_signature()
S
64 3 10
maybe_prepare_sync()
S
66 3 8
delete_cloudinary_meta()
S
58 2 15
sync_signature_by_type()
S
66 3 8
init_background_upload()
S
70 2 6
get_signature_syncable_type()
S
71 2 6
is_auto_sync_enabled()
S
71 2 6
get_asset_state()
S
74 2 4
add_to_sync()
S
69 2 6
filter_media_states()
S
68 2 7
enqueue_assets()
S
64 2 9
generate_file_signature()
S
74 2 4
been_synced()
S
71 2 5
is_active()
S
79 2 3
register_assets()
S
72 2 6
run_sync_method()
S
67 2 8
register_sync_type()
S
61 1 12
__construct()
S
66 1 8
get_sync_version()
S
73 1 4
register_settings()
S
70 1 6